{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "file  = \"全国氢能企业_no.csv\"\n",
    "\n",
    "df = pd.read_csv(file)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>企业名称</th>\n",
       "      <th>统一社会信用代码</th>\n",
       "      <th>经营范围</th>\n",
       "      <th>一级行业分类</th>\n",
       "      <th>二级行业分类</th>\n",
       "      <th>三级行业分类</th>\n",
       "      <th>predict</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>马鞍山市衡安化工产品贸易有限责任公司</td>\n",
       "      <td>91340500MA2TU460XE</td>\n",
       "      <td>批发（不得存储）甲苯、重苯（苯渣）、焦化苯（轻苯）、二甲苯、洗油、溶剂油、甲醇、苯乙烯、煤焦...</td>\n",
       "      <td>制造业</td>\n",
       "      <td>石油、煤炭及其他燃料加工业</td>\n",
       "      <td>煤炭加工</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>马鞍山市沛达商贸有限公司</td>\n",
       "      <td>913405005801045774</td>\n",
       "      <td>批发（不得储存）氢氧化钠、亚硝酸钠、磷酸、氢氟酸、双氧水、二甲苯、甲醛、甲醇、冰醋酸，批发及...</td>\n",
       "      <td>制造业</td>\n",
       "      <td>化学原料和化学制品制造业</td>\n",
       "      <td>基础化学原料制造</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>马鞍山市昌和染料有限公司</td>\n",
       "      <td>913405006742238091</td>\n",
       "      <td>批发零售染料、颜料、建材、五金工具、家用电器、机电产品、劳保用品、橡胶制品、化工原料（不含危...</td>\n",
       "      <td>制造业</td>\n",
       "      <td>化学原料和化学制品制造业</td>\n",
       "      <td>基础化学原料制造</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>马鞍山市春林化工有限公司</td>\n",
       "      <td>91340500664214415C</td>\n",
       "      <td>批发（不得储存、不得零售）氨水、氢氧化钠、盐酸、液氨；批发金属制品、建材、钢材、五金机械、电...</td>\n",
       "      <td>制造业</td>\n",
       "      <td>化学原料和化学制品制造业</td>\n",
       "      <td>基础化学原料制造</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>马鞍山克众贸易有限公司</td>\n",
       "      <td>91340500MA2U94LL39</td>\n",
       "      <td>批发（不得储存）叔丁基过氧化氢、过氧化二叔丁基、过氧化苯甲酸叔丁酯、1,1-双（叔丁基过氧基...</td>\n",
       "      <td>制造业</td>\n",
       "      <td>化学原料和化学制品制造业</td>\n",
       "      <td>基础化学原料制造</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                 企业名称            统一社会信用代码  \\\n",
       "0  马鞍山市衡安化工产品贸易有限责任公司  91340500MA2TU460XE   \n",
       "1        马鞍山市沛达商贸有限公司  913405005801045774   \n",
       "2        马鞍山市昌和染料有限公司  913405006742238091   \n",
       "3        马鞍山市春林化工有限公司  91340500664214415C   \n",
       "4         马鞍山克众贸易有限公司  91340500MA2U94LL39   \n",
       "\n",
       "                                                经营范围 一级行业分类         二级行业分类  \\\n",
       "0  批发（不得存储）甲苯、重苯（苯渣）、焦化苯（轻苯）、二甲苯、洗油、溶剂油、甲醇、苯乙烯、煤焦...    制造业  石油、煤炭及其他燃料加工业   \n",
       "1  批发（不得储存）氢氧化钠、亚硝酸钠、磷酸、氢氟酸、双氧水、二甲苯、甲醛、甲醇、冰醋酸，批发及...    制造业   化学原料和化学制品制造业   \n",
       "2  批发零售染料、颜料、建材、五金工具、家用电器、机电产品、劳保用品、橡胶制品、化工原料（不含危...    制造业   化学原料和化学制品制造业   \n",
       "3  批发（不得储存、不得零售）氨水、氢氧化钠、盐酸、液氨；批发金属制品、建材、钢材、五金机械、电...    制造业   化学原料和化学制品制造业   \n",
       "4  批发（不得储存）叔丁基过氧化氢、过氧化二叔丁基、过氧化苯甲酸叔丁酯、1,1-双（叔丁基过氧基...    制造业   化学原料和化学制品制造业   \n",
       "\n",
       "     三级行业分类  predict  \n",
       "0      煤炭加工        0  \n",
       "1  基础化学原料制造        0  \n",
       "2  基础化学原料制造        0  \n",
       "3  基础化学原料制造        0  \n",
       "4  基础化学原料制造        0  "
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "llm",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.13"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
